package com.hu.hutool.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author CazCen
 * @Date 2021/10/24 22:33
 */
@Data
@TableName("user")
public class User implements Serializable {
    private static final long serialVersionUID = 7762159056996927208L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;
    private Integer age;
    private String phone;

    private static Map<String, String> map = new HashMap();

    public static void test() {

    }

    static {
        map.put("en-US", "11111111111");
        map.put("zh-CN", "222222222222222222222");
    }

}
